HttpResponse

interface HttpResponse

The response from a HTTP request.

Functions

isSuccess
Link copied to clipboard
abstract fun isSuccess(): Boolean
readBody
Link copied to clipboard
abstract suspend fun readBody(): String

Properties

headers
Link copied to clipboard
abstract val headers: Headers
message
Link copied to clipboard
abstract val message: <ERROR CLASS>
statusCode
Link copied to clipboard
abstract val statusCode: Int
statusMessage
Link copied to clipboard
abstract val statusMessage: String

Sources

js source
Link copied to clipboard